package com.mask.im.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.im.business.model.entity.SysRoleEntity;
import com.mask.im.business.model.dto.RoleDTO;
import com.mask.im.business.model.dto.UserRoleDTO;
import com.mask.im.business.model.vo.ConditionVO;
import com.mask.im.business.common.model.PageResult;
import com.mask.im.business.model.vo.RoleVO;

import java.util.List;


/**
 * 角色管理
 *
 * @author jian
 */
public interface SysRoleService extends IService<SysRoleEntity> {
    List<UserRoleDTO> listUserRoles();

    PageResult<RoleDTO> listRoles(ConditionVO conditionVO);

    void saveOrUpdateRole(RoleVO roleVO);

    void deleteRoles(List<Integer> ids);
}

